package com.lhb.order.feignClient;

import com.lhb.common.model.UnifyResponseObject;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.io.IOException;

@FeignClient(name = "repertory")
public interface RepertoryClient {

    @DeleteMapping("/repertory/deleteFlight/{id}")
    UnifyResponseObject deleteFlight(@PathVariable("id") Long id) throws IOException;
}
